<%@ page import="dropouts.Quotation" %>



<div class="fieldcontain ${hasErrors(bean: quotationInstance, field: 'call_back_requested', 'error')} required">
	<label for="call_back_requested">
		<g:message code="quotation.call_back_requested.label" default="Callbackrequested" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="call_back_requested" required="" value="${fieldValue(bean: quotationInstance, field: 'call_back_requested')}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: quotationInstance, field: 'customer', 'error')} required">
	<label for="customer">
		<g:message code="quotation.customer.label" default="Customer" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="customer" name="customer.id" from="${dropouts.Customer.list()}" optionKey="id" required="" value="${quotationInstance?.customer?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: quotationInstance, field: 'emailed', 'error')} required">
	<label for="emailed">
		<g:message code="quotation.emailed.label" default="Emailed" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="emailed" required="" value="${fieldValue(bean: quotationInstance, field: 'emailed')}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: quotationInstance, field: 'person', 'error')} required">
	<label for="person">
		<g:message code="quotation.person.label" default="Person" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="person" name="person.id" from="${dropouts.Person.list()}" optionKey="id" required="" value="${quotationInstance?.person?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: quotationInstance, field: 'quotation_date', 'error')} required">
	<label for="quotation_date">
		<g:message code="quotation.quotation_date.label" default="Quotationdate" />
		<span class="required-indicator">*</span>
	</label>
	<g:datePicker name="quotation_date" precision="day"  value="${quotationInstance?.quotation_date}"  />
</div>

